package com.example.zhongshuishi.service;


import com.example.zhongshuishi.entity.StudentDto;

import java.util.List;

/**
 * @author 鑳℃垬纾�
 * @version 1.0
 * @description TODO
 * @date 2025/3/29 11:19
 */
public interface StudentService {
    int addStudent(StudentDto studentDto);
    int deleteStudent(String id);
    int updateStudent(StudentDto studentDto);
    public int updateById(StudentDto studentDto);
    StudentDto getStudentById(String id);
    StudentDto getStudentByPhone(String phone);
    List<StudentDto> getAllStudents();
    int updatePaymentStatus(String id, String paymentStatus);
    boolean isTeacherExist(String teacherName); // 新增方法：校验教师是否存在

    List<StudentDto> selectByPersonnal(Integer teacherId,String teacher,Integer wxId,String stuName,String stuIdnumber,String stuPhone,Integer currPage,Integer pageSize);
    int addOrder(StudentDto studentDto);
    int addTraining(StudentDto studentDto);

    void updateTraining(StudentDto student);

    String selectPaymentStatus(String id);

}
